package mytask.model;

import org.hibernate.validator.constraints.NotEmpty;

public final class UserLogin {

	@NotEmpty(message = "Kasutajatunnus sisestamata!")
    private String email;
    
	@NotEmpty(message = "Parool sisestamata!")
    private String password;

    public UserLogin() {
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
    
}